SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}Dohr{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}' OR prCity = 'Dohr' OR prZip = 'Dohr' OR prStreet LIKE '{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}Dohr{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}' OR prCountry = 'Dohr') AND (prLocation LIKE '{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}Germany{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}Germany{1961b090942596608ef6312229f1dc846e79a85be1a8f0cda8ff3ea151309dd9}' OR prCountry = 'Germany')